import Vue from 'vue'
import Router from 'vue-router'
import Index from "./components/index/Index";
import Login from "./components/login/Login";

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/index',
            name: 'index',
            component: Index
        },
        {
            path: '/login',
            name: 'login',
            component: Login
        },
        {
            path: '/',
            name: 'login',
            component: Login
        }
    ]
})
